﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using ST.Buz.Base.Entity;

namespace ST.Buz.Base.Mapping
{
	public partial class Map_Sys_RoleAction : IEntityTypeConfiguration<Sys_RoleAction>
	{
		public void Configure(EntityTypeBuilder<Sys_RoleAction> builder)
		{
			builder.HasIndex(e => new { e.RoleID, e.ActionID })
				.HasName("IX_Sys_RoleAction_RoleID_ActionID")
				.IsClustered(false);
		}
	}
}
